package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.AdminRno;
import org.hxyjs.page.PageInfo;

public interface AdminRnoService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<AdminRno> getAllAdminRnos() throws Exception;

    /**
     * 删除学生
     * @param rano
     * @return
     * @throws Exception
     */
    public DTO<AdminRno> deleteAdminRnoByRano(String rano) throws Exception;
    /**
     *  修改学生
     * @param adminRno
     * @return
     */
    public DTO<AdminRno> updateAdminRnoByRano(AdminRno adminRno)  throws Exception;
    /**
     *  增加学生
     * @param adminRno
     * @return
     */
    public DTO<AdminRno> addAdminRno(AdminRno adminRno)  throws Exception;

    /**
     * 根据主键查询学生
     * @param rano
     * @return
     * @throws Exception
     */
    public DTO<AdminRno> getAdminRnoByRano(String rano) throws Exception;

     public DTO<AdminRno> getAdminRnoByPage(PageInfo pageInfo) throws Exception;


}
